package com.flash.BusinessData.mapper;

import com.flash.BusinessData.entity.CashAccrued;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface CashAccruedMapper {
    /**
     * 查询
     * @return
     */
    List<CashAccrued> CashAccruedSelect(Map map) ;
    /**
     * 查询总条数
     */
    int CashAccruedCount();
    /**
     * 添加
     */
    int  insertCashAccrued(CashAccrued cashAccrued);
    /**
     * 删除
     */
    int deleteCashAccrued(String cashAccruedId);
    /**
     * 修改
     */
    int updateCashAccrued(CashAccrued cashAccrued);

    //收益计提
    int deleteCashAccruedNew(CashAccrued cashAccrued);

    int deleteCashAccrueNews(CashAccrued cashAccrued);
}
